package com.wct.mall.domain;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品属性值表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PmsProductAttributeValue implements Serializable {
    private Long id;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 商品属性id
     */
    private Long productAttributeId;

    /**
     * 手动添加规格或参数的值，参数单值，规格有多个时以逗号隔开
     */
    private String value;

    private static final long serialVersionUID = 1L;

    public static PmsProductAttributeValueBuilder builder() {
        return new PmsProductAttributeValueBuilder();
    }
}